import React from 'react';

export default class Home extends React.Component{

    click() {
        console.log('------')
    }
    render () {
        return (
            <div>
                <p>hello</p>
                <button onClick={this.click}>点击</button>
            </div>
        );
    }

}

